package leetcode.code0405;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution405 implements IDebug {

	public abstract String toHex(int num);

	@Override
	public void debug1() {
		int num = 26;
		String e = "1a";
		String r = this.toHex(num);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int num = -1;
		String e = "ffffffff";
		String r = this.toHex(num);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int num = -10;
		String e = "fffffff6";
		String r = this.toHex(num);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		int num = 0;
		String e = "0";
		String r = this.toHex(num);
		HelpDebug.compare(e, r);
	}

}
